Carbon


GetEOF

Header: Files.h Carbon status: Supported

Determines the current logical end-of-file of an open file.

OSErr GetEOF (
    SInt16 refNum, 
    SInt32 *logEOF
);
refNum

The file reference number of an open file.

logEOF

On output, a pointer to the logical end-of-file.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)